﻿<%@ Page Language="C#" MasterPageFile="~/Manager/Admin/Admin.master" AutoEventWireup="true" CodeFile="ContractHolder_Groups.aspx.cs" Inherits="Manager_Admin_Users_ContractHolder_Groups" Title="Contract Holders -> Groups" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AC" Runat="Server">
<UI:GridViewMB id="grvCH_Gs" DataSourceID="dsCH_Gs" AllowEdit="true" AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false"
		ShowDelete="true" ShowFooter="true" ShowSearch="true" DataKeyNames="ContractHolderID,SID_Group" runat="server">
		<Columns>
		<asp:TemplateField HeaderText="Contract Holder" SortExpression="ContractHolder">
			<ItemTemplate><%#Eval("ContractHolder") %></ItemTemplate>
			<FooterTemplate>
				<asp:DropDownList ID="ContractHolderID" DataSourceID="dsCHs" DataTextField="Nick" DataValueField="ID" runat="server"  />
			</FooterTemplate>
			
		</asp:TemplateField>
		<asp:TemplateField HeaderText="Group" SortExpression="GroupName">
			<ItemTemplate><%#Eval("GroupName") %></ItemTemplate>
			<FooterTemplate>
				<asp:DropDownList ID="SID_Group" DataSourceID="dsGroups" DataTextField="Name" DataValueField="SID" runat="server"  />
			</FooterTemplate>
	
		</asp:TemplateField>
		</Columns>
</UI:GridViewMB>
<DS:ContractHolder_GroupsDataSource ID="dsCH_Gs" runat="server" />
<DS:ContractHoldersDataSource ID="dsCHs" runat="server" />
<DS:GroupsDataSource ID="dsGroups" runat="server" />
</asp:Content>

